<template>
    <div>
        <el-button type="info" @click="loginOut">退出登录</el-button>
    </div>
</template>

<script>
export default {
    name: 'home',
    methods: {
        loginOut() {
            window.sessionStorage.removeItem('loading');
            this.$router.push('/login')
        }
    }
    
}
</script>

<style lang="scss" scoped>

</style>